/*****************************************************************************
	SNEGA UTILITIES 0.7a
	Copyright (C) 2009, Xiaohan Tian (snega0223)
	
	http://code.google.com/p/snega-utilities/
	
	This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU Lesser General Public License(LGPL) as
	published by the Free Software Foundation, either version 3 of the 
	License, or(at your option) any later version.

	This program is distributed in the hope that it will be useful,
	but WITHOUT ANY WARRANTY; without even the implied warranty of
	MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
	GNU Lesser General Public License for more details.
	
	You should have received a copy of the GNU Lesser General Public License
	along with this program.  If not, see <http://www.gnu.org/licenses/>.
*****************************************************************************/

package org.sng.util.var;

import org.sng.util.web.elmt.RuntimeEnvironment;

public class SGet extends SVoid {
	
	public void SetValue(RuntimeEnvironment in, int n)
	{
		this.Get(in).SetValue(in, n);
	}
	
	public void SetValue(RuntimeEnvironment in, double d)
	{
		this.Get(in).SetValue(in, d);
	}
	
	public void SetValue(RuntimeEnvironment in, String s)
	{
		this.Get(in).SetValue(in, s);
	}
	
	public int GetInt(RuntimeEnvironment in)
	{
		return this.Get(in).GetInt(in);
	}
	
	public double GetDouble(RuntimeEnvironment in)
	{
		return this.Get(in).GetDouble(in);
	}
	
	public String GetString(RuntimeEnvironment in)
	{
		return this.Get(in).GetString(in);
	}
	
	public SVoid [] GetArray(RuntimeEnvironment in)
	{
		return this.Get(in).GetArray(in);
	}
	
	public SVoid GetMember(RuntimeEnvironment in, String key)
	{
		return this.Get(in).GetMember(in, key);
	}
	
	public SVoid GetMember(RuntimeEnvironment in, int i)
	{
		return this.Get(in).GetMember(in, i);
	}
	
	public SVoid GetMember(RuntimeEnvironment in, SVoid idx)
	{
		return this.Get(in).GetMember(in, idx);
	}

}
